home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 15
/
Aminet 15 - Nov 1996.iso
/
Aminet
/
dev
/
gcc
/
ixemsdk.lha
/
man
/
cat3
/
abs.0
< prev
next >
Wrap
Text File
|
1996-09-02
|
832b
|
29 lines
ABS(3) UNIX Programmer's Manual ABS(3)
NNAAMMEE
aabbss - integer absolute value function
SSYYNNOOPPSSIISS
##iinncclluuddee <<ssttddlliibb..hh>>
_i_n_t
aabbss(_i_n_t _j)
DDEESSCCRRIIPPTTIIOONN
The aabbss() function computes the absolute value of the integer _j.
RREETTUURRNN VVAALLUUEESS
The aabbss() function returns the absolute value.
SSEEEE AALLSSOO
floor(3), labs(3), cabs(3), hypot(3), math(3)
SSTTAANNDDAARRDDSS
The aabbss() function conforms to ANSI C3.159-1989 (``ANSI C'').
BBUUGGSS
The absolute value of the most negative integer remains negative.
BSD Experimental June 29, 1991 1